package com.sealer.pattern.structural.facade.service;

import com.sealer.pattern.structural.facade.model.Address;
import com.sealer.pattern.structural.facade.model.Customer;

/**
 * Created by sealer on 17/04/04.
 */
public class CustomerService {
    public Customer findById(long id) {
        System.out.println("return customer by id:" + id);
        Customer customer = new Customer(id);
        customer.setAddress(new Address());
        return customer;
    }
}
